<template>
  <div class="login">
    <div class="loginDiv">
      <div>
        <img
          src="https://open.weixin.qq.com/zh_CN/htmledition/res/assets/res-design-download/icon48_wx_button.png"
        />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Login",
  mounted() {
    if (this.$store.state.accessToken.length == 0) {
      1==1;
    } else {
      this.$router.push("/device/info");
    }
  }
};
</script>
<style scoped>
.loginDiv {
  margin-left: 40%;
  margin-top: 10%;
}
</style>